<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <!-- <link rel="stylesheet" href="http://127.0.0.1:8080/test.css" global> -->
    <!-- <script src='http://127.0.0.1:8080/test.js' global></script> -->
    <!-- <link rel="stylesheet" href="<%= BASE_URL %>layui/css/layui.css" />
    <script src="<%= BASE_URL %>layui/layui.js"></script> -->
    <script>
      try {
        console.log('window.Vue: ', window.Vue, 'Vue in window: ', 'Vue' in window)
        ;eval('console.log("html自带script的eval", window)')
      } catch (e) {
        console.log(e)
      }
      // setTimeout(() => {
      //   const dynamicScript = document.createElement('script')
      //   dynamicScript.textContent = `eval('console.log("动态创建的script的eval", window)')`
      //   document.body.appendChild(dynamicScript)
      // }, 3000);
    </script>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
